setWidthMode

abstract fun setWidthMode(block: DesignBlock, mode: SizeMode)

Set a block's mode for its width. Required scope: "layer/resize"

Parameters

block

the block to update.

mode

the width mode.